feat: enable a365 sample runnable in ATK agents playground#236
Open
HuihuiWu-Microsoft wants to merge 8 commits intomicrosoft:mainfrom
Open
feat: enable a365 sample runnable in ATK agents playground#236HuihuiWu-Microsoft wants to merge 8 commits intomicrosoft:mainfrom
HuihuiWu-Microsoft wants to merge 8 commits intomicrosoft:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Node.js LangChain sample agent to support debugging/running directly in Microsoft 365 Agents Playground via TeamsFx tooling, adding the required configuration, VS Code tasks, and environment templates.
Changes:
- Add TeamsFx/M365 Agents Playground project YAMLs and VS Code debug/task wiring for one-key launch.
- Introduce Playground-specific environment files and a PowerShell helper to refresh bearer tokens via the A365 CLI.
- Update
package.jsonscripts/dev workflow to support TeamsFx-based Playground launch.
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| nodejs/langchain/sample-agent/README.md | Updates prerequisites and adds step-by-step Playground debugging instructions. |
| nodejs/langchain/sample-agent/package.json | Adjusts dev script for inspector + adds TeamsFx/Playground helper scripts and env-cmd. |
| nodejs/langchain/sample-agent/m365agents.yml | Adds base TeamsFx/M365 Agents Toolkit YAML configuration. |
| nodejs/langchain/sample-agent/m365agents.playground.yml | Adds Playground deployment steps and env file materialization. |
| nodejs/langchain/sample-agent/env/.env.playground.user | Adds user-specific secret placeholders for Playground. |
| nodejs/langchain/sample-agent/env/.env.playground | Adds committed Playground env settings (ports, app id, agentic auth settings). |
| nodejs/langchain/sample-agent/.vscode/tasks.json | Adds TeamsFx deploy + local start + Playground start tasks and token refresh step. |
| nodejs/langchain/sample-agent/.vscode/scripts/refresh-bearer-token.ps1 | Adds script to acquire/update bearer token via a365 develop get-token. |
| nodejs/langchain/sample-agent/.vscode/launch.json | Adds attach config + compound launch for Playground debugging. |
| nodejs/langchain/sample-agent/.vscode/extensions.json | Recommends Teams Toolkit extension. |
| nodejs/langchain/sample-agent/.gitignore | Adds ignore rules for TeamsFx local files/dev tools. |
summzhan
approved these changes
Mar 11, 2026
ajmfehr
approved these changes
Mar 23, 2026
gwharris7
approved these changes
Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.